package com.slaffka;

import javax.ejb.Stateful;
import javax.ejb.Stateless;
import javax.enterprise.context.ConversationScoped;
import javax.enterprise.context.SessionScoped;
import javax.inject.Inject;
import javax.inject.Named;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 * Created with IntelliJ IDEA.
 * User: slaffka
 * Date: 03.11.12
 * Time: 16:03
 * To change this template use File | Settings | File Templates.
 */

@Stateful
@SessionScoped
@Named
public class Test {
//    @PersistenceContext(name = "slafffka")
    @PersistenceContext
    EntityManager entityManager;
//
    public void test(){
        //System.out.println("entityManager = " + entityManager);
    }

}
